package com.shop.shopmall.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.shop.shopmall.pojo.GoodsInfo;

import java.util.Map;

/**
* @author jamie
* @description 针对表【goods_info】的数据库操作Service
* @createDate 2025-03-31 17:10:38
*/
public interface GoodsInfoService extends IService<GoodsInfo> {

    /**
     * 获取商品信息列表
     * @return
     */
    IPage<GoodsInfo> getGoodsInfoList(GoodsInfo goodsInfo);

    /**
     * 获取商品总数
     * @return
     */
    Map<String, Integer> getGoodsTotal();

}
